package com.mybatisflex.test.dto;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author DELL
 * @version 1.0
 * @project Mybatis-flex-text
 * @description
 * @date 2023/12/28 16:24:12
 */
@NoArgsConstructor // 无参构造
@AllArgsConstructor //构造带参
@Data
public class AccountDto {

    @Id(keyType = KeyType.Auto)
    private Long id;
    private String userName;
    private Integer age;
    private Date birthday;
    private int account_id;
    private String title;
    private String content;

}
